package com.chengma.domain;

import com.chengma.common.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户点赞问题对象 tb_user_liked_question
 * 
 * @author tck
 * @date 2025-03-19
 */
public class TbUserLikedQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户 */
    private String username;

    /** 问题id */
    private String questionId;

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setQuestionId(String questionId) 
    {
        this.questionId = questionId;
    }

    public String getQuestionId() 
    {
        return questionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("username", getUsername())
            .append("questionId", getQuestionId())
            .toString();
    }
}
